<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>付款页面</title>
    <link rel="stylesheet"  type="text/css"  href="../css/pay.css"/>
    <script language="javascript" src="../js/jquery-3.1.0.js" ></script>
    <script src="../js/lodash.js"></script>
    <script language="javascript" src="../js/pay.js" ></script>
    <script type="text/javascript" src="../js/jquery.tmpl.min.js"></script>
    <script id="form" type="text/x-jquery.tmpl">
        <tr id='${name}'>
                <td>${classification}</td>
                <td class="name">${name}</td>
                <td>${price}</td>
                <td>${unit}</td>
                <td>${count}</td>
                <td><b class="pro">${subtotal}</b></td>
         </tr>
    </script>
    <script id="save_form" type="text/x-jquery.tmpl">
        <tr>
                <td>${classification}</td>
                <td class="name">${name}</td>
                <td>${count}</td>
         </tr>
    </script>
</head>
<body>
<div>
    <ul class="navigation">
        <li><a href="product_list.html">Let's Go</a></li>
        <li><a id="home" href="home.html">主页</a></li>
        <li><a id="product" href="product_list.html">商品列表</a></li>
        <li class="all_cart"><img  src="../shopping_cart.png" /><a class="cart" href="cart.html">购物车(<b id="sum_count"></b>)</a></li>
    </ul>
    <div class="form">
        <div class="caption">
            <caption>购物清单</caption>
        </div>
        <p class="time"></p>
        <table id="product_list">
            <th class="classification">分类</th>
            <th class="name">名称</th>
            <th class="price">单价（元）</th>
            <th class="unit">单位</th>
            <th class="count">数量</th>
            <th class="money">小计</th>
        </table>
        <div>
            <div class="caption">
                <caption class="free">赠送商品</caption>
            </div>
            <table id="save_table">
                <th>分类</th>
                <th>名称</th>
                <th>数量</th>
            </table>
            <div class="sum">总计：<a id="sum_money"></a> 元</div>
            <div class="save">节省：<a id="save"></a> 元</div>
            <button class="pay">确认</button>
        </div>
    </div>

</div>
</body>
</html>